package com.bwhx.eruler.service.casdilly;

import java.util.List;

import com.bwhx.eruler.bean.casdilly.ClothesType;
import com.bwhx.eruler.service.BaseService;

public interface ClothesTypeService extends BaseService<ClothesType> {

	List<ClothesType> findByTypeCPIDSerial(String attribute);

	void insert(ClothesType ct);

	List<ClothesType> findByTypeCategory(Integer category);

 
	List<ClothesType> findByCTNameAndTypeAndProjectSerial(ClothesType ct);

	ClothesType findByID(ClothesType ct);

	void relateClothes(ClothesType ct);

	boolean saveDisplayOrder(List<ClothesType> typies);

	/**
	 * 根据项目编号获取品类信息
	 * @param ct 包含项目编号的品类信息
	 * @return
	 */
	List<ClothesType> findByClothesTypeBycPIDSerial(ClothesType ct);

}
